package com.member.service.impl;



import org.springframework.beans.factory.annotation.Autowired;

import com.member.mapper.LoginMapper;
import com.member.po.User;
import com.member.service.LoginService;

public class LoginServiceImpl implements LoginService{

	 @Autowired
	 private LoginMapper loginMapper;
	 
	 public boolean validation(User user){
		 User user1 = loginMapper.select(user);
		 if(user1 == null){
			 return false;
		 }else{
			 return true;
		 }
	 }
}
